package com.itheima.exercise.animal.birds;

/**
 * 鹦鹉类
 */
public class Parrot extends Birds{
    //鹦鹉喜欢吃的食物
    private String food;

    public Parrot(String color, String bark, String food) {
        super(color, bark);
        this.food = food;
    }

    public Parrot() {
    }
    public void method(){
        System.out.println("鹦鹉可以学人说话");
    }
}
